﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserLogin.aspx.cs" Inherits="_UserLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>用户登录</title>

    <style type="text/css">
        .style1
        {
            text-align: right;
        }
        .style2
        {
            text-align: left;
        }
    </style>

</head>
<body style="text-align: center">
    <form id="form1" runat="server">
    <table style="width: 20%;">
        <tr>
            <td>
            <asp:Label             
                ID="lblUserName" 
                runat="server" 
                Text="用户名：">
            </asp:Label>
            </td>
            <td>
            <asp:TextBox 
                ID="txtUserName" 
                runat="server"
                Width="128px">
            </asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            <asp:Label 
                ID="lblPassWords" 
                runat="server" 
                Text="密码：">
            </asp:Label>
                </td>
            <td>
            <asp:TextBox 
                ID="txtPassWords"
                TextMode="Password"  
                runat="server"
                Width="128px">
            </asp:TextBox>        
            </td>
        </tr>
        <tr>
            <td  colspan="2" class="style1">
            <asp:Button 
                ID="btnLogin" 
                runat="server" 
                Text="登录"
                OnClick="btnLogin_Click"
                Width="60px"   />
            &nbsp;&nbsp;&nbsp;
            <asp:Button 
                ID="btnCancel" 
                runat="server" 
                Text="取消"
                OnClick="btnCancel_Click"
                Width="60px"  />
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="2" class="style2">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:HyperLink 
                ID="hlRegister" 
                runat="server"
                NavigateUrl="~/UserRegister.aspx" >注册</asp:HyperLink>
            &nbsp;&nbsp;&nbsp;
            </td>
        </tr>             
    </table>
    </form>
</body>
</html>
